Post

Replies

Boosts

Views

Activity

Comment on Image stored in documents directory disappears on app relaunch/rebuild
For any application for internal use there is a folder in ~/Library/Application Support/(appName) where you can place any files/folders, these files/folders remain untouched during rebuild, in obj-C we construct this folder by calling function NSHomeDirectory() + "/Library/Application Support/" + [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"], try to find how to do the same in Swift
Sep ’22